package Logic.EventSample.Goods.Gain;

import FrameWork.Model.Player;
import org.springframework.stereotype.Component;

//获取采集物品处理器
@Component
public class GainGoodFromCollectHandler implements GainGoodHandler{

    @Override
    public void onGainGood(Player player, int goodId, int count, GainSource source) {
        if (source != GainSource.COLLECT) return;
        System.out.println("背包添加采集物品");
    }

}
